<template>
  <div class="common-layout">
    <el-container>
      <el-header><IndexHeader /> aaa</el-header>
      <el-main><router-view> </router-view></el-main>
      <el-footer class="footer-class"><IndexFooter /></el-footer>
    </el-container>
  </div>
</template>
<script setup>
import { reactive, ref, toRef, getCurrentInstance, onBeforeMount } from 'vue';
import IndexHeader from './IndexHeader.vue';
import IndexFooter from './IndexFooter.vue';
</script>

<style lang="scss" scoped>
.footer-class {
  width: 90%;
  height: 50px;
  text-align: center;
  line-height: 30px;
  border-top: 1px dotted #e1d4d4;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
}
</style>
